package www.openteam.com.mvp;

import android.view.LayoutInflater;
import android.view.ViewGroup;

/**
 * Created by kylin on 2016/12/13.
 */

public interface IPresenter<V extends IView> {
    /**
     * @param view 绑定
     */
    void attachView(V view);


    /**
     * 防止内存的泄漏,清楚presenter与activity之间的绑定
     */
    void detachView();


    /**
     * @return 获取View
     */
    IView getIView();
}
